package com.msb.pojo;

import lombok.Data;

//@Data 默认会为所有字段生成 getter 和 setter 方法
@Data
public class NodeDataBook {
    private Integer id;
    private String bookName;
    private String bookAuthor;

    public static void main(String[] args) {
        NodeDataBook book = new NodeDataBook();
        book.setId(1);
        book.setBookName("fengwensen");
        System.out.println(book.getBookName());
    }
}
